package com.ycxy.sh.transaction.service;

import com.ycxy.sh.transaction.dao.entity.Comment;
import com.ycxy.sh.transaction.mapper.CommentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * <p>
 *  评论 服务类
 * </p>
 *
 * @author hlt
 * @since 2019-12-21
 */
@Transactional
public interface CommentService {
    /**插入评论*/
    void insertComment(Comment comment, HttpSession session);


    /*//查询评论
    List<Comment> queryComments(Long commid);
   //查询评论中用户信息
    Comment queryById(Long commentid);
    //删除评论
    void deleteComment(Long commentid);*/
}
